package com.memory.modules.business.repository.user;

import com.memory.modules.business.domain.user.Account;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Collection;
import java.util.List;
import java.util.Optional;

public interface AccountRepository extends JpaRepository<Account,Long> {

    public List<Account> findAccountByIdIn(Collection<Long> ids);

    Account findByOpenId(String openId);
}
